<!doctype html>
<html>
  <head>
    <title>parser Test</title>
    <script src="../../tools/test/htmltest.js"></script>
    <script src="../../node_modules/chai/chai.js"></script>
    <script src="../../html-imports.js"></script>
    <link rel="import" href="imports/parsed-import-1.html">
  </head>
  <body>
    <script>
      addEventListener('HTMLImportsLoaded', function() {
        chai.assert.ok(window.inlineScriptParsed, 'inlineScriptParsed');
        chai.assert.ok(window.externalScriptParsed, 'externalScriptParsed');
        done();
      });
    </script>
  </body>
</html>
